package com.wzy.reflect.handle;

import com.wzy.reflect.annoniation.BankAPI;
import com.wzy.reflect.annoniation.BankAPIField;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author wzy
 * @Date: 2022/3/11 14:49
 * @Description:
 */
@BankAPI(url = "/bank/pay", desc = "支付接口")
@Data
public class PayAPI extends AbstractAPI {
    @BankAPIField(order = 1, type = "N", length = 20)
    private long userId;
    @BankAPIField(order = 2, type = "M", length = 10)
    private BigDecimal amount;
}
